package com.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.domain.entity.Problem;
import com.common.domain.vo.PointVo;
import com.common.domain.vo.ProblemVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface ProblemMapper extends BaseMapper<Problem> {

    List<ProblemVo> allProblemList(@Param("userName") String userName,
                                   @Param("type") String type,
                                   @Param("userId") Long userId);
}
